home *** CD-ROM | disk | FTP | other *** search
/ Our Solar System / Our Solar System.iso / shuttle / seesat3 / readme.doc < prev    next >
Encoding:
Text File  |  1991-11-30  |  2.9 KB  |  75 lines

  1.        This executable SEESAT, version dated November 12, 
  2. 1990, was compiled for DOS using Borland's Turbo-C version 
  3. 2.01.  The original source code, written by Paul Hirose, is 
  4. included and the necessary changes for compiling with Turbo-C 
  5. are listed below. 
  6.  
  7.         Any changes you wish to make to SEESAT should be 
  8. done with the original code.  I have listed the changes 
  9. that I have made as a helpful guide to anyone wishing to 
  10. experiment with the code, but I will not distribute the 
  11. code with the changes that I have made.  Other than the 
  12. following changes for DOS/Turbo-C compatibility, the 
  13. program functions as originally written. 
  14.  
  15.         Please note that all times entered and listed are 
  16. in local time, not UTC.  Therefore it is important that the 
  17. correct time zone difference is entered at program start-
  18. up, if different from the default.  I have made the default 
  19. equal to six hours which is correct for Houston CST. For 
  20. daylight savings time, Houston, this should be changed to 5. 
  21.  
  22. The following changes to the original code were made: 
  23.  
  24. 1) #include "B:SEESAT.H" was changed to #include "SEESAT.H" 
  25.    in all .C files, to reflect the fact that I placed all 
  26.    of the SEESAT3.ARC files in the same directory for 
  27.    compilation .
  28.  
  29. 2) SEESAT.H,  The redefinition of ITOA,  
  30.    #define ITOA(s, i) sprintf(s, "%d", i)   was made 
  31.    because of transposition of parameters in Turbo-C itoa() 
  32.    function. 
  33.  
  34. 3) SEESAT.H,  The ANSI C  recommended JMPBUF routine was 
  35.    uncommented and used and the other routine was commented 
  36.    out.
  37.  
  38. 4) SEESAT.H, #define MALLOC(n) alloc(n)   was changed to 
  39.    #define MALLOC(n) malloc(n) 
  40.  
  41. 5) SEESAT.H. #define VOIDP char *  was changed to 
  42.    #define VOIDP void *
  43.  
  44. 6) SEESAT.H,  #include<ctype.h> and #include<stdlib.h> were 
  45.    added and redeclaration of appropriate functions deleted 
  46.    from respective .C files. 
  47.  
  48. 7) All printf() declarations were changed to type int.
  49.  
  50. 8) READEL.C,  changed fseek() from type long int to type 
  51.    int in the declarations.
  52.  
  53. 9) ASTRO.C,  The default location was changed to southwest 
  54.    Houston parameters, and a default time zone difference 
  55.    was changed to 6.  During program start-up, the time 
  56.    zone difference should be changed to 5 for daylight 
  57.    savings time in Houston. 
  58.  
  59. 10) ASTRO.C,  The floor() and ceil() functions were used in 
  60.     place of the dint() function by uncommenting the 
  61.     appropriate code. 
  62.  
  63. 11) ASTRO.C,  #define GLON 1 was made to provide longitude 
  64.     relative to Greenwich meridian.
  65.  
  66. 12) READEL.C,   #define LNAME 22  was changed to 
  67.                 #define LNAME 16  to keep the size 
  68.       estimates following the satellite's name in the CSS 
  69.       N2L-xxx.ZIP bulletins from becoming part of the 
  70.       satellite's name. 
  71.  
  72. 13) DRIVER.C,  delt = 1;  was added to function init() to 
  73.     initialize the STEP command to 1 at program startup.  
  74.  
  75.